Skip to content

Handle out-of-bounds coordinates during evaluation#259

Merged
jacobmerson merged 4 commits intoSCOREC:developfrom
Sichao25:yus/out_of_bound_mode
Feb 27, 2026
Merged

Handle out-of-bounds coordinates during evaluation#259
jacobmerson merged 4 commits intoSCOREC:developfrom
Sichao25:yus/out_of_bound_mode

Conversation

@Sichao25
Copy link
Contributor

@Sichao25 Sichao25 commented Feb 14, 2026

Handle out-of-bounds cases by throwing an exception or filling a given value. NEAREST_BOUNDARY mode (map to nearest elements) is not yet implemented.

@Sichao25 Sichao25 marked this pull request as ready for review February 14, 2026 04:07
@jacobmerson
Copy link
Collaborator

@hgangwar please review this when you get a chance. Changes here are what we discussed about handling points outside the domain.

@hgangwar
Copy link

@jacobmerson , the test case validates exactly the functionality we need. As I understand it, any out of bounds vertex's element index is marked as something < 0, and handled accordingly via OutOfBoundsMode. I will verify it further with the convergence testcase.

@jacobmerson jacobmerson merged commit 4b726ed into SCOREC:develop Feb 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants